<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
  
<div class="pageContent">
	<form method="post"  action="<%=basePath %>treat/add_Add.action" 
		class="pageForm required-validate" onsubmit="return validateCallback(this);">
		<div class="pageFormContent" layoutH="56">
			
			<p>
				<label>客户姓名：</label>
				<input name="customer.customerId" type="hidden"/>
				<input name="customer.cname" class="required" type="text" size="25" 
					onclick="javascript:$(this).next().trigger('click');" />
				<a class="btnLook" href="<%=basePath %>customer/customerQuery.jsp" lookupgroup="customer">查找带回</a>
			</p>
			<p>
				<label>性别：</label>
				<input name="customer.cgender" type="text" size="25" disabled/>
			</p>
			<p>
				<label>年龄：</label>
				<input name="customer.cage" type="text" size="25" disabled/>
				
			</p>
			<p>
				<label>家庭住址：</label>
				<input type="text" name="customer.caddr" size="25" disabled/>
			</p>
			<p>
		    	<label>就诊日期：</label>
			    <input type="text" name="tre.treatDate" class="date" dateFmt="yyyy-MM-dd HH:mm:ss" 
			    	size="25" readonly="true"/>
			    <a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>就诊医生：</label>
				<input name="emp.empId" type="hidden" />
				<input name="emp.empName" class="required" type="text" size="25" 
					onclick="javascript:$(this).next().trigger('click');" />
				<a class="btnLook" href="<%=basePath %>system/systemQuery.jsp" lookupgroup="emp">查找带回</a>
			</p>
			<p>
				<label>就诊科室：</label>
				<input type="text" name="emp.empDepName" size="25"/>
			</p>
			<dl class="nowrap">
				<dt>诊断信息：</dt>
				<dd><textarea name="tre.treatInfo" cols="85" rows="15" class="textInput"></textarea></dd>
			</dl>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
